let environType = (function () {
    if (location.hostname.indexOf('apitest.yilu.cn') > -1) {
        return 'dev'
    }
	if (location.hostname.indexOf('yilu-api.prepub.cheoo.com') > -1) {
	    return 'pre'
	}
	if (location.hostname.indexOf('api1.yilu.cn') > -1) {
	    return 'pro'
	}
    return 'dev'
})()
 
export default environType